home *** CD-ROM | disk | FTP | other *** search
/ SPACE 1 / SPACE - Library 1 - Volume 1.iso / utilitys / 184 / arc521 / arcdocs / arc521.doc next >
Encoding:
Text File  |  1988-06-15  |  55.9 KB  |  2,101 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.               ARC
  14.  
  15.                  File Archive Utility
  16.                      Version 5.20
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.                  (C)COPYRIGHT 1985,86
  43.                           by
  44.           System Enhancement Associates, Inc.
  45.                   ALL RIGHTS RESERVED
  46.  
  47.  
  48.  
  49.  
  50.  
  51. This document describes version 5.20 of the ARC file
  52. utility, which was created by System Enhancement
  53. Associates, Inc. in October of 1986.
  54.  
  55.  
  56.        TABLE OF CONTENTS
  57.  
  58.  
  59.  
  60. _______                                           ____
  61. Section                                           Page
  62.  
  63.  
  64. Introduction  ....................................   1
  65. Using ARC  .......................................   3
  66. ARC commands  ....................................   5
  67.     Adding files  ................................   5
  68.     Extracting files  ............................   7
  69.     Deleting files  ..............................   8
  70.     Listing archive entries  .....................   8
  71.     Running files  ...............................  10
  72.     Printing files  ..............................  11
  73.     Testing an archive  ..........................  11
  74.     Converting an archive  .......................  12
  75. ARC options  .....................................  13
  76.     Suppressing compression  .....................  13
  77.     Backup retention  ............................  14
  78.     Message suppression  .........................  15
  79.     Encryption/Decryption  .......................  17
  80. RAMdisk support  .................................  18
  81. MARC  ............................................  19
  82. ARCE  ............................................  20
  83. Version numbers  .................................  21
  84. Common questions and answers  ....................  22
  85. Maintenance contracts  ...........................  24
  86. Revision history  ................................  25
  87.     Changes in version 3  ........................  25
  88.     Changes in version 4  ........................  25
  89.     Changes in version 4.1  ......................  26
  90.     Changes in version 4.3  ......................  26
  91.     Changes in version 4.4  ......................  27
  92.     Changes in version 4.5  ......................  27
  93.     Changes in version 5.0  ......................  28
  94.     Changes in version 5.1  ......................  29
  95.     Changes in version 5.2  ......................  30
  96. Program history and credits  .....................  31
  97. Bulletin boards  .................................  33
  98. Site licenses  ...................................  34
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.          INTRODUCTION
  113.  
  114.  
  115.  
  116. ARC is the copyrighted property of System Enhancement
  117. Associates, Inc.  You are granted a limited license to
  118. use ARC, and to copy it and distribute it, provided
  119. that the following conditions are met:
  120.  
  121. 1) No fee may be charged for such copying and
  122.    distribution.
  123.  
  124. 2) ARC may ONLY be distributed in its original,
  125.    unmodified state.
  126.  
  127.            ___
  128. 3) ARC may not be distributed, in whole or in part, as
  129.    part of any commercial product or service without
  130.    the express written permission of System
  131.    Enhancement Associates.
  132.  
  133.  
  134. Contributions for the use of this program will be
  135. appreciated, and should be sent to:
  136.  
  137.           System Enhancement Associates, Inc.
  138.              21 New Street, Wayne NJ 07470
  139.  
  140. You may not use this product in a commercial
  141. environment or a governmental organization without
  142. paying a license fee of $35.  Site licenses and
  143. commercial distribution licenses are available.  A
  144. program disk and printed documentation are available
  145. for $50.  See the order form enclosed with this manual
  146. for more details.
  147.  
  148.  
  149.  
  150. ARC is user supported software.  This means that you
  151. may copy it freely and give the copies away to anyone
  152. you wish, at no cost.  They are in turn requested to
  153. send in a contribution if they decide to use it.
  154.  
  155. The user supported software concept (often referred to
  156.    _________
  157. as shareware) is an attempt to provide software at low
  158. cost.  The cost of offering a new product by
  159. conventional means is staggering, and hence dissuades
  160. many independent authors and small companies from
  161. developing and promoting their ideas.  User supported
  162. software is an attempt to develop a new marketing
  163. channel, where products can be introduced at low cost.
  164.  
  165.  
  166.  
  167.  
  168. ARC                                              Page 1
  169. If user supported software works, then everyone will
  170. benefit.  The user will benefit by receiving quality
  171. products at low cost, and by being able to "test
  172. drive" software thoroughly before purchasing it.  The
  173. author benefits by being able to enter the commercial
  174. software arena without first needing large sources of
  175. venture capital.
  176.  
  177. But it can only work with your support.  We're not
  178. just talking about ARC here, but about all user
  179. supported software.  If you obtain a user supported
  180. program from a friend or colleague, and are still
  181. using it after a couple of weeks, then it is obviously
  182. worth something to you, and a contribution should be
  183. sent.
  184.  
  185.  
  186.  
  187. And now, back to ARC:
  188.  
  189. ARC is used to create and maintain file archives.  An
  190. archive is a group of files collected together into
  191. one file in such a way that the individual files may
  192. be recovered intact.
  193.  
  194. ARC is different from other archive and library
  195. utilities in that it automatically compresses the
  196. files being archived, so that the resulting archive
  197. takes up a minimum amount of space.
  198.  
  199. When ARC is used to add a file to an archive it
  200. analyzes the file to determine which of three storage
  201. methods will result in the greatest savings.  These
  202. three methods are:
  203.  
  204. 1) No compression; the file is stored as is.
  205.  
  206. 2) Repeated-character compression; repeated sequences
  207.    of the same byte value are collapsed into a three-
  208.    byte code sequence.
  209.  
  210. 3) Dynamic Lempel-Zev compression;  the file is stored
  211.    as a series of variable size bit codes which
  212.    represent character strings, and which are created
  213.    "on the fly".
  214.  
  215. Note that since one of the three methods involves no
  216. compression at all, the resulting archive entry will
  217. never be larger than the original file.
  218.  
  219.  
  220.  
  221.  
  222.  
  223. ARC                                              Page 2
  224.            USING ARC
  225.  
  226.  
  227.  
  228. ARC is invoked with a command of the following format:
  229.  
  230.     ARC <x> <arcname> [<template> . . .]
  231.  
  232. Where:
  233.  
  234.     <x> is an ARC command letter (see below), in
  235.     either upper or lower case.
  236.  
  237.     <arcname> is the name of the archive to act on,
  238.     with or without an extension.  If no extension is
  239.     supplied, then ".ARC" is assumed.  The archive
  240.     name may include path and drive specifiers.
  241.  
  242.     <template> is one or more file name templates.
  243.     The "wildcard" characters "*" and "?" may be used.
  244.     A file name template may include a path or drive
  245.     specifier, though it isn't always meaningful.
  246.  
  247.  
  248. If ARC is invoked with no arguments (by typing "ARC",
  249. and pressing "enter"), then a brief command summary is
  250. displayed.
  251.  
  252.  
  253.  
  254. Following is a brief summary of the available ARC
  255. commands:
  256.  
  257.     a   = add files to archive
  258.     m   = move files to archive
  259.     u   = update files in archive
  260.     f   = freshen files in archive
  261.     d   = delete files from archive
  262.     x,e = extract files from archive
  263.     r   = run files from archive
  264.     p   = copy files from archive to standard output
  265.     l   = list files in archive
  266.     v   = verbose listing of files in archive
  267.     t   = test archive integrity
  268.     c   = convert entry to new packing method
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278. ARC                                              Page 3
  279. Following is a brief summary of the available ARC
  280. options, which may alter how a command works:
  281.  
  282.     b   = retain backup copy of archive
  283.     s   = suppress compression (store only)
  284.     w   = suppress warning messages
  285.     n   = suppress notes and comments
  286.     o   = overwrite existing files when extracting
  287.     g   = encode or decode archive entry
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333. ARC                                              Page 4
  334.          ARC COMMANDS
  335.  
  336.  
  337.  
  338. This section describes each of the commands.  ARC will
  339. accept any one command at a time.  If no commands are
  340. given, then a brief command list is displayed.
  341.  
  342.  
  343.  
  344. ____________
  345. ADDING FILES
  346.  
  347. Files are added to an archive using the "A" (Add), "M"
  348. (Move), "U" (Update), or "F" (Freshen) commands.  Add
  349. always adds the file.  Move differs from Add in that
  350. the source file is deleted once it has been added to
  351. the archive.
  352.  
  353. Update differs from Add in that the file is only added
  354. if it is not already in the archive, or if it is newer
  355. that the corresponding entry in the archive.
  356.  
  357. Freshen is similar to Update, except that new files
  358. are not added to the archive; only files already in
  359. the archive are updated.
  360.  
  361.  
  362. For example, if you wish to add a file named
  363. "TEST.DAT" to an archive named "MY.ARC", you would use
  364. a command of the form:
  365.  
  366.     ARC a my test.dat
  367.  
  368. If you wanted to add all files with a ".C" extension,
  369. and all files named "STUFF" to an archive named
  370. "JUNK.ARC", you could type:
  371.  
  372.     ARC a junk *.c stuff.*
  373.  
  374. If you wanted to move all files in your current
  375. directory into an archive named "SUM.ARC", you could
  376. use a command of the form:
  377.  
  378.     ARC m sum *.*
  379.  
  380. If you have an archive named "TEXT.ARC", and you
  381. wanted to add to it all of your files with an
  382. extension of ".TXT" which have been created or changed
  383. since they were last archived, then you would type:
  384.  
  385.     ARC u text *.txt
  386.  
  387.  
  388.  
  389. ARC                                              Page 5
  390. If you have a bunch of files in your current
  391. directory, with backup copies being stored in an
  392. archive named "SAFE.ARC", then if you wanted to make
  393. sure that every file in the archive is the latest
  394. version of that file, you would type:
  395.  
  396.     ARC f safe
  397.  
  398.  
  399. A word about Update and Freshen:  These are similar in
  400. that they look at the date and time of last change on
  401. the file, and only add it if the file has been changed
  402. since it was last archived.  They differ in that
  403. Update will add new files, while Freshen will not.
  404.  
  405. In other words, Update looks for the files on disk,
  406. and adds them if they are new or have changed, while
  407. Freshen looks in the archive, and tries to update the
  408. files which are already there.
  409.  
  410.  
  411. Archive entries are always maintained in alphabetic
  412. order.  Archive entries may not have duplicate names.
  413. If you add a file to an archive that already contains
  414. a file by that name, then the existing entry in the
  415. archive is replaced.  Also, the archive itself and its
  416. backup will not be added.
  417.  
  418. You may also add a file which is in a directory other
  419. than your current directory.  For example, it is
  420. perfectly legal to type:
  421.  
  422.     ARC a junk c:\dustbin\stuff.txt
  423.  
  424. You cannot add two files with the same name.  In other
  425. words, if you have a file named "C:\DUSTBIN\STUFF.TXT"
  426. and another file named "C:\BUCKET\STUFF.TXT", then
  427. typing:
  428.  
  429.     arc a junk c:\dustbin\*.* c:\bucket\*.*
  430.  
  431. will not work.
  432.  
  433.  
  434. ARC does not save the path name.  In other words, if
  435. you specify a drive and/or path when adding a file,
  436. only the actual file name is stored in the archive.
  437.  
  438.  
  439.  
  440.  
  441.  
  442.  
  443.  
  444. ARC                                              Page 6
  445. ARC will never add an archive to itself, nor will it
  446. add the temporary copy or a backup copy of the
  447. archive.
  448.  
  449.  
  450. An interesting note:  It has been brought to our
  451. attention that BASIC programs compress to a smaller
  452.                    ___
  453. size when they are not tokenized.  If you are more
  454. concerned with space than speed, you may wish to
  455. convert your BASIC programs to ASCII form before
  456. adding them to an archive.  Your BASIC manual should
  457. give instructions on how to do this.
  458.  
  459.  
  460.  
  461. ________________
  462. EXTRACTING FILES
  463.  
  464. Archive entries are extracted with the "E" (Extract)
  465. and "X" (eXtract) commands.  For example, if you had
  466. an archive named "JUNK.ARC", and you wanted all files
  467. in it with an extension of ".TXT" or ".DOC" to be
  468. recreated on your disk, you could type:
  469.  
  470.     ARC x junk *.txt *.doc
  471.  
  472. If you wanted to extract all of the files in an
  473. archive named "JUNK.ARC", you could simply type:
  474.  
  475.     ARC x junk
  476.  
  477. Whatever method of file compression was used in
  478. storing the files is reversed, and uncompressed copies
  479. are created in the current directory.
  480.  
  481. You can also specify a path name, in which case the
  482. decompressed copy is placed in the specified
  483. directory.  For example, if you had an archive named
  484. "JUNK.ARC", and you wanted all files in it with an
  485. extension of ".TXT" to be placed in the directory
  486. "C:\WASTE\LAND", then you could type:
  487.  
  488.     ARC x junk c:\waste\land\*.txt
  489.  
  490. If you wanted to put the file "TRASH.TXT" on your A:
  491. drive, and the file "LITTER.TXT" on your B: drive, you
  492. could type:
  493.  
  494.     ARC x junk a:trash.txt b:litter.txt
  495.  
  496.  
  497.  
  498.  
  499.  
  500.  
  501. ARC                                              Page 7
  502. If you give more than one path for a file, then only
  503. the first one is used.  For example, if you typed:
  504.  
  505.     ARC x junk a:trash.txt b:trash.txt
  506.  
  507. then TRASH.TXT will be placed on your A: drive.
  508.  
  509.  
  510.  
  511. ______________
  512. DELETING FILES
  513.  
  514. Archive entries are deleted with the "D" (Delete)
  515. command.  For example, if you had an archive named
  516. "JUNK.ARC", and you wished to delete all entries in it
  517. with a filename extension of ".C", you could type:
  518.  
  519.     ARC d junk *.c
  520.  
  521.  
  522.  
  523. _______________________
  524. LISTING ARCHIVE ENTRIES
  525.  
  526. You can obtain a list of the contents of an archive by
  527. using the "L" (List) command or the "V" (Verbose list)
  528. command.  For example, to see what is in an archive
  529. named "JUNK.ARC", you could type:
  530.  
  531.     ARC l junk
  532.  
  533. If you are only interested in files with an extension
  534. of ".DOC", then you could type:
  535.  
  536.     ARC l junk *.doc
  537.  
  538.  
  539. ARC prints a short listing of an archive's contents
  540. like this:
  541.  
  542.     Name          Length    Date
  543.     ============  ========  =========
  544.     ALPHA.TXT         6784  16 May 85
  545.     BRAVO.TXT         2432  16 May 85
  546.     COCO.TXT           256  16 May 85
  547.             ====  ========
  548.     Total      3      9472
  549.  
  550.  
  551. "Name" is simply the name of the file.
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558. ARC                                              Page 8
  559. "Length" is the unpacked file length.  In other words,
  560. it is the number of bytes of disk space which the file
  561. would take up if it were extracted.
  562.  
  563. "Date" is the date on which the file had last been
  564. modified, as of the time when it was added to the
  565. archive.
  566.  
  567. "Total" is pretty obvious, I think.
  568.  
  569.  
  570. ARC prints a verbose listing of an archive's contents
  571. like this:
  572.  
  573. Name          Length    Stowage    SF   Size now  Date       Time    CRC
  574. ============  ========  ========  ====  ========  =========  ======  ====
  575. ALPHA.TXT         6784  Crunched   35%      4413  16 May 85  11:53a  8708
  576. BRAVO.TXT         2432  Crunched   41%      1438  16 May 85  11:53a  5BD6
  577. COCO.TXT           256   Packed     5%       244  16 May 85  11:53a  3AFB
  578.         ====  ========            ====  ========
  579. Total      3      9472             27%      6095
  580.  
  581.  
  582. "Name", "Length", and "Date" are the same as for a
  583. short listing.
  584.  
  585. "Stowage" is the compression method used.  The
  586. following compression methods are currently known:
  587.  
  588.        --          No compression.
  589.  
  590.      Packed        Runs of repeated byte values are
  591.                    collapsed.
  592.  
  593.     Crunched       Lempel-Zev compression technique
  594.                    employed.
  595.  
  596.     Squeezed       Huffman encoding compression
  597.                    technique, as employed by an
  598.                    earlier version of ARC.
  599.  
  600. "SF" is the stowage factor.  In other words, it is the
  601. percentage of the file length which was saved by
  602. compression.  The total stowage factor is the stowage
  603. factor for the archive as a whole, not counting
  604. archive overhead.
  605.  
  606. "Size now" is the number of bytes the file is
  607. occupying while in the archive.
  608.  
  609.  
  610.  
  611.  
  612.  
  613. ARC                                              Page 9
  614. "Time" is the time of last modification, and is
  615. associated with the date of last modification.
  616.  
  617. "CRC" is the CRC check value which has been stored
  618. with the file.  Another CRC value will be calculated
  619. when the file is extracted or tested to ensure data
  620. integrity.  There is no especially good reason for
  621. displaying this value.
  622.  
  623.  
  624.  
  625. _____________
  626. RUNNING FILES
  627.  
  628. Archive entries may be run without being extracted by
  629. use of the "R" (Run) command.  For example, if you had
  630. an archive named "JUNK.ARC" which contained a file
  631. named "LEMON.COM", which you wished to run, you could
  632. type:
  633.  
  634.     ARC r junk lemon
  635.  
  636. You can run any file from an archive which has an
  637. extension of ".COM", ".EXE", ".BAT", or ".BAS".  You
  638. do not have to specify the extension, but all matching
  639. files are run if you do not.  In other words, if you
  640. had an archive named "JUNK.ARC" which contained the
  641. files "LEMON.COM", "LEMON.EXE", and "LEMON.BAS", and
  642. you typed:
  643.  
  644.     ARC r junk lemon
  645.  
  646. Then all three programs will be run.  You can avoid
  647. this by specifying an extension in this case.
  648.  
  649. You can give arguments to the program you are running
  650. by appending them to the command line.  For example,
  651. if you have an archive named "JUNK.ARC" which contains
  652. a program named "LEMON.COM", and you wanted to run it
  653. giving it the argument "JUICE", you would type:
  654.  
  655.     ARC r junk lemon juice
  656.  
  657. You will need a fair amount of memory to run a program
  658. from an archive.  It probably cannot be done with less
  659. than 256k.
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669. ARC                                             Page 10
  670. In practice, the file to be run is extracted, run, and
  671. then deleted.  In other words, the above example is
  672. equivalent to:
  673.  
  674.     ARC x junk lemon.com
  675.     lemon juice
  676.     erase lemon.com
  677.  
  678. If you have an archive which contains a program that
  679. you will be running often, then you should probably
  680. extract the program from the archive and use it
  681. normally.
  682.  
  683.  
  684.  
  685. ______________
  686. PRINTING FILES
  687.  
  688. Archive entries may be examined with the "P" (Print)
  689. command.  This works the same as the Extract command,
  690. except that the files are not created on disk.
  691. Instead, the contents of the files are written to
  692. standard output.  For example, if you wanted to see
  693. the contents of every ".TXT" file in an archive named
  694. "JUNK.ARC", but didn't want them saved on disk, you
  695. could type:
  696.  
  697.     ARC p junk *.txt
  698.  
  699. If you wanted them to be printed on your printer
  700. instead of on your screen, you could type:
  701.  
  702.     ARC p junk *.txt >prn
  703.  
  704.  
  705.  
  706. __________________
  707. TESTING AN ARCHIVE
  708.  
  709. The integrity of an archive may be tested by use of
  710. the "T" (Test) command.  This checks to make sure that
  711. all of the file headers are properly placed, and that
  712. all of the files are in good shape.
  713.  
  714. This can be very useful for critical archives, where
  715. data integrity must be assured.  When an archive is
  716. tested, all of the entries in the archive are unpacked
  717. (without saving them anywhere) so that a CRC check
  718. value may be calculated and compared with the recorded
  719. CRC value.
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726. ARC                                             Page 11
  727. For example, if you just received an archive named
  728. "JUNK.ARC" over a phone line, and you want to make
  729. sure that you received it properly, you could type:
  730.  
  731.     ARC t junk
  732.  
  733. It defeats the purpose of the T command to combine it
  734. with N or W.
  735.  
  736.  
  737.  
  738. _____________________
  739. CONVERTING AN ARCHIVE
  740.  
  741. The "C" (Convert) command is used to convert an
  742. archive entry to take advantage of newer compression
  743. techniques.  This is occasionally desirable when a new
  744. version of ARC is released.  Please refer to the
  745. revision history section for details on when new
  746. compression methods were implemented.
  747.  
  748. For example, if you had an archive named "JUNK.ARC",
  749. and you wanted to make sure that all files with an
  750. extension of ".DOC" were encoded using the very latest
  751. methods, you could type:
  752.  
  753.     ARC c junk *.doc
  754.  
  755. Or if you wanted to convert every file in the archive,
  756. you could type:
  757.  
  758.     ARC c junk
  759.  
  760.  
  761.  
  762.  
  763.  
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.  
  774.  
  775.  
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782. ARC                                             Page 12
  783.           ARC OPTIONS
  784.  
  785.  
  786.  
  787. This section describes the options which are available
  788. to modify how ARC works.  Any of these options can be
  789. combined with any of the commands, though the result
  790. may not always be something you'd want to do.
  791.  
  792.  
  793.  
  794. _______________________
  795. SUPPRESSING COMPRESSION
  796.  
  797. The "S" (Suppress compression) option can be combined
  798. with any command that updates archive entries.  These
  799. include Add, Move, Update, Freshen, and Convert.  The
  800. effect of the S option is to prevent any compression
  801. techniques from being employed.  This is intended to
  802. allow you to add a few files at a time to an archive
  803. quickly, and then later convert the archive to
  804. compress everything at once.
  805.  
  806. For example, over the course of a day you might give
  807. each of the following commands:
  808.  
  809.     ARC as junk *.txt
  810.     ARC as junk *.mac
  811.     ARC as junk *.doc
  812.  
  813. At the end of the day, when you have finished adding
  814. things to the archive, you could have all of the
  815. archive entries compressed at once by typing:
  816.  
  817.     ARC c junk
  818.  
  819. You could also decompress the archive by typing:
  820.  
  821.     ARC cs junk
  822.  
  823. though I can't imagine why you'd want to.
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838. ARC                                             Page 13
  839. ________________
  840. BACKUP RETENTION
  841.  
  842. When ARC changes an archive (during an Add, Move,
  843. Update, Freshen, Delete, or Convert) it creates a new
  844. archive with the same name, but with an extension of
  845. ".$$$".  For example, if you add a file to an archive
  846. named STUFF.ARC, then ARC will create a new archive
  847. named STUFF.$$$.  ARC will read from your existing
  848. archive and write out the new archive with any changes
  849. to the ".$$$" copy.
  850.  
  851. Normally when ARC is finished it deletes the original
  852. and renames the new archive to the original name (ie.
  853. STUFF.ARC goes away, and STUFF.$$$ becomes the new
  854. STUFF.ARC).  Among other things, this means that if
  855. anything goes wrong and ARC is unable to finish, then
  856. your original archive will still be intact.
  857.  
  858.  
  859. In some circumstances you may wish to retain the
  860. original version of the archive as a backup copy.  You
  861. can do this easily by using the Backup option.  Add
  862. the letter "B" to your command, and ARC will rename
  863. your original archive to have an extension of ".BAK"
  864. instead of deleting it.
  865.  
  866.  
  867. In other words, if you wanted to add "WASTE.TXT" to an
  868. archive named "JUNK.ARC", but wanted to keep a backup
  869. copy, then you would type:
  870.  
  871.     ARC ab junk waste.txt
  872.  
  873. Your original archive would become "JUNK.BAK", while
  874. "JUNK.ARC" would contain the new "WASTE.TXT" file.
  875.  
  876.  
  877. If you keep a backup of an archive which already has a
  878. backup, then the older backup copy is deleted.
  879.  
  880.  
  881.  
  882.  
  883.  
  884.  
  885.  
  886.  
  887.  
  888.  
  889.  
  890.  
  891.  
  892.  
  893.  
  894. ARC                                             Page 14
  895. ___________________
  896. MESSAGE SUPPRESSION
  897.  
  898. ARC prints three types of messages: warnings,
  899. comments, and errors.
  900.  
  901. Warnings are messages about suspected error
  902. conditions, such as when a file to be extracted
  903. already exists, or when an extracted file fails the
  904. CRC error check.  Warnings may be suppressed by use of
  905. the "W" (Warn) command.  You should use this command
  906. sparingly.  In fact, you should probably not use this
  907. command at all.
  908.  
  909. Comments (or notes) are informative messages, such as
  910. naming each file as it is added to the archive.
  911. Comments and notes may be suppressed by use of the "N"
  912. (Note) command.
  913.  
  914. Errors are actual system problems, such as running out
  915. of disk space.  You cannot suppress errors.
  916.  
  917.  
  918. For example, suppose you extracted all files with an
  919. extension of ".BAS" from an archive named "JUNK.ARC"
  920. Then, after making some changes which you decide not
  921. to keep, you decide that you want to extract them all
  922. again, but you don't want to be asked to confirm every
  923. one.  In this case, you could type:
  924.  
  925.     ARC xw junk *.bas
  926.  
  927. Or, if you are going to add a hundred files with an
  928. extension of ".MSG" to an archive named "TRASH.ARC",
  929. and you don't want ARC to list them as it adds them,
  930. you could type:
  931.  
  932.     ARC an trash *.msg
  933.  
  934. Or, if you want to extract the entire contents of an
  935. archive named "JUNK.ARC", and you don't want to hear
  936. anything, then type:
  937.  
  938.     ARC xnw junk
  939.  
  940.  
  941. A special case is provided when extracting files from
  942. an archive.  One of the various warnings that can
  943. occur is when a file being extracted already exists on
  944. disk.  Normally, ARC will stop and ask you if you want
  945. to overwrite the file.  This can be suppressed with
  946. the "W" command, but that will also suppress any
  947.  
  948.  
  949.  
  950. ARC                                             Page 15
  951. warnings about other things, like failed CRC checks
  952. and such.
  953.  
  954.                                       ____
  955. The "O" (Overwrite) option suppresses only the warning
  956. that the file already exists.  For example, in our
  957. earlier case of extracting all the ".BAS" files from
  958. "JUNK.ARC", a much safer way to do it is to type:
  959.  
  960.     ARC xo junk *.BAS
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.  
  981.  
  982.  
  983.  
  984.  
  985.  
  986.  
  987.  
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997.  
  998.  
  999.  
  1000.  
  1001.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006. ARC                                             Page 16
  1007. _____________________
  1008. ENCRYPTION/DECRYPTION
  1009.  
  1010. Archive entries may be encrypted and decrypted by
  1011. using the "G" (Garble) option.  The Garble option
  1012. takes the remainder of the command string as the
  1013.                                    ____
  1014. password to use, so it must be the last option.
  1015.  
  1016.  
  1017. For example, if you wanted to add a file named
  1018. "WASTE.TXT" to an archive named "JUNK.ARC", and you
  1019. wanted to encrypt it using the password "DEBRIS", then
  1020. you would type:
  1021.  
  1022.     ARC agdebris junk waste.txt
  1023.  
  1024. Later on, when you want to extract it again, you would
  1025. type:
  1026.  
  1027.     ARC xgdebris junk waste.txt
  1028.  
  1029. The password you supply is used to encrypt (or
  1030. decrypt) the archive entry by performing an exclusive
  1031. OR between each byte of the packed data and each byte
  1032. of the password.  The password can be any length, and
  1033. each of its bytes is used in rotation.  The password
  1034. is converted to uppercase before it is used, so it is
  1035. ___
  1036. not case sensitive.  Since the encryption is performed
  1037. on the packed data, it has no effect on stowage
  1038. factors.
  1039.  
  1040. This is not a particularly sophisticated means of
  1041. encryption, and it is theoretically possible to crack.
  1042. Still, since it is performed on the packed data, the
  1043. result should be quite sufficient for casual use.
  1044.  
  1045.  
  1046. You can, if you wish, use different passwords for
  1047. different files in an archive, but we advise against
  1048. it.  If you are going to encrypt an archive, we
  1049. suggest you use the same password for every file, and
  1050. give the password whenever you do anything at all with
  1051. the archive.  It is possible to list the entries in an
  1052. encrypted archive using the "L" and "V" commands
  1053. without giving the password, but nothing else will
  1054. work properly.
  1055.  
  1056.  
  1057. We advise that you use this option sparingly, if at
  1058. all.  If you should forget or mistype your password,
  1059. it is highly unlikely that you will ever recover your
  1060. data.
  1061.  
  1062.  
  1063.  
  1064. ARC                                             Page 17
  1065.         RAMDISK SUPPORT
  1066.  
  1067.  
  1068.  
  1069. If you have a RAMdisk, or other high-speed storage,
  1070. then you can speed up ARC somewhat by telling it to
  1071. put its temporary files on the RAMdisk.  You do this
  1072. by setting the ARCTEMP environment string with the MS-
  1073. DOS SET command.  For example, if drive B: is your
  1074. RAMdisk, then you would type:
  1075.  
  1076.     set ARCTEMP=B:
  1077.  
  1078. Refer to the MS-DOS manual for more details about the
  1079. SET command.  You need only set the ARCTEMP string
  1080. once, and ARC will use it from then on until you
  1081. change its value or reboot your system.
  1082.  
  1083.  
  1084. If ARC does not find an environment string named
  1085. ARCTEMP, then it looks for one named TEMP to use
  1086. instead.  Several packages already use the TEMP string
  1087. for exactly this purpose.  If you have need of an
  1088. environment string named TEMP for something else, then
  1089. you should be sure to define ARCTEMP.
  1090.  
  1091.  
  1092. There are a limited number of temporary files created
  1093. by ARC.  The Convert command uses a file named
  1094. "$ARCTEMP.CVT" to hold each file as it is being
  1095. converted.  The Run command also creates a temporary
  1096. file, which has the name "$ARCTEMP", and whose
  1097. extension matches that of the file being run.
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119. ARC                                             Page 18
  1120.              MARC
  1121.  
  1122.  
  1123.  
  1124. MARC is a separate program which is used to merge
  1125. archives created by ARC.  MARC moves files from one
  1126. archive to another without unpacking them.
  1127.  
  1128.  
  1129. MARC is used as follows:
  1130.  
  1131.     MARC <target> <source> [<template> . . .]
  1132.  
  1133. Where:
  1134.  
  1135.     <target> is the name of the archive to add files
  1136.     to.
  1137.  
  1138.     <source> is the name of the archive to read files
  1139.     from.
  1140.  
  1141.     <template> is one or more file name templates.
  1142.     The wildcard characters "*" and "?" may be used.
  1143.     If no template is supplied, then all of the files
  1144.     in <source> are added to <target>.
  1145.  
  1146. It is not necessary for the target to exist.  If it
  1147. does not exist, then it is created.  Thus, MARC can be
  1148. used as an "extractor" as well as a "merger".
  1149.  
  1150.  
  1151. For example, if you wanted to create an archive named
  1152. "JUNK.ARC", which is to contain all of the files with
  1153. an extension of ".TXT" which are currently contained
  1154. in another archive named "WASTE.ARC", then you could
  1155. type:
  1156.  
  1157.     MARC junk waste *.txt
  1158.  
  1159. If you wanted to create an archive named "JUNK.ARC",
  1160. which is to contain all of the files currently in the
  1161. archives "WASTE.ARC" and "TRASH.ARC", you could type:
  1162.  
  1163.     MARC junk waste
  1164.     MARC junk trash
  1165.  
  1166.  
  1167. If MARC is invoked with no arguments, then it gives
  1168. brief directions in its use.
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174. ARC                                             Page 19
  1175.              ARCE
  1176.  
  1177.  
  1178.  
  1179. ARCE is a program which is used to extract files from
  1180.                      ____
  1181. an archive.  It will only extract files, and it will
  1182. ___
  1183. not extract encrypted files.  It doesn't do anything
  1184. that ARC can't do, but it is highly optimized for the
  1185. sole purpose of archive extraction, so it is very
  1186. small and very fast.
  1187.  
  1188. ARCE is used in a fashion very similar to the "ARC E"
  1189. command (hence the name).  The first argument is the
  1190. name of the archive to extract files from, and may
  1191. include a drive and path specifier.  Up to sixteen
  1192. additional arguments can be supplied, which specify
  1193. the files to extract.  The wildcard characters "*" and
  1194. "?" are allowed, as with ARC.  If no files are named,
  1195. then all files are extracted from the archive.  If the
  1196. file being extracted already exists, you are asked
  1197. whether or not you want to overwrite it.  You can use
  1198. the "/R" option to bypass this.
  1199.  
  1200. For example, if you had an archive named "WASTE.ARC"
  1201. that you wanted to extract everything from, then you
  1202. could type:
  1203.  
  1204.     ARCE waste
  1205.  
  1206. Or if you just wanted to extract the files with a
  1207. filename extension of ".ASM", you could type:
  1208.  
  1209.     ARCE waste *.asm
  1210.  
  1211. If you already have a few files from the archive that
  1212. you want replaced, then you could type:
  1213.  
  1214.     ARCE waste *.asm /R
  1215.  
  1216. If you run ARCE with no arguments at all, then it will
  1217. give you a brief reminder of how to use it.
  1218.  
  1219.  
  1220. NOTICE:
  1221. NOTICE: ARCE is the copyrighted property of Vernon D.
  1222.         Buerg and Wayne Chin.  It is included on the
  1223.         ARC program disk as a service to ARC users.
  1224.  
  1225.         Vernon D. Buerg
  1226.         456 Lakeshire Drive
  1227.         Daly City, CA  94015
  1228.         RBBS: (415) 994-2944
  1229.  
  1230.  
  1231.  
  1232. ARC                                             Page 20
  1233.         VERSION NUMBERS
  1234.  
  1235.  
  1236.  
  1237. There seems to be some confusion about our version
  1238. numbering scheme.  All of our version numbers are
  1239. given as a number with two decimal places.
  1240.  
  1241. The units indicate a major revision, such as adding a
  1242. new packing algorithm.
  1243.  
  1244. The first decimal place (tenths) indicates a minor
  1245. revision that is not essential, but which may be
  1246. desired.
  1247.  
  1248. The second decimal place (hundredths) indicates a
  1249. trivial revision that will probably only be desired by
  1250. specific individuals or by die-hard "latest version"
  1251. fanatics.
  1252.  
  1253. ARC also displays its date and time of last edit.  A
  1254. change of the date and time without a corresponding
  1255. change in version number indicates a truly trivial
  1256. change, such as fixing a spelling error.
  1257.  
  1258.  
  1259. To sum up: If the units change, then you should get
  1260. the newer version as soon as you can.  If the tenths
  1261. change, then you may want to get the newer version,
  1262. but there's no hurry.  If anything else changes, then
  1263. you probably shouldn't bother.
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.  
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287. ARC                                             Page 21
  1288.  COMMON QUESTIONS AND ANSWERS
  1289.  
  1290.  
  1291.  
  1292. Here are some of the more common questions we've
  1293. received about ARC, along with their answers:
  1294.  
  1295.  
  1296. Q: Why does ARC run out of room if I make an archive
  1297.    bigger than about 180k?
  1298.  
  1299. A: Because you are working on a floppy disk.  ARC
  1300.    creates a copy of your archive, incorporating any
  1301.    new files as it goes.  When it is done, it deletes
  1302.    the original and renames the new one.  There are a
  1303.    number of reasons for doing it this way, one being
  1304.    that your original archive is still intact if
  1305.    anything happens while ARC is running.
  1306.  
  1307.    You can save some space by using drive specifiers
  1308.    and having the archive and the files to add on
  1309.    separate disks, but you still won't be able to make
  1310.    an archive larger than about 180k.  If you need to
  1311.    make a larger archive, and if you have a fixed
  1312.    disk, then you can create the archive on the fixed
  1313.    disk and then copy it to the floppy.
  1314.  
  1315.  
  1316. Q: I've seen an ARC.COM and an ARC.EXE.  Which one is
  1317.    the right one?
  1318.  
  1319. A: ARC.EXE.  One or more people have been running ARC
  1320.    through a utility that converts an ".EXE" file to a
  1321.    ".COM" file.  But this utility is designed to save
  1322.    _____
  1323.    space, not speed.  On ARC it saves about 250 bytes,
  1324.    and makes no measurable difference in program
  1325.    speed.  We've decided that the savings are not
  1326.    worth the extra step in development in this case.
  1327.  
  1328.  
  1329. Q: How can I get the latest version of ARC?
  1330.  
  1331. A: ARC updates are distributed through normal
  1332.    shareware channels, and by FidoNet.  We also ship a
  1333.    program update disk on every order of $50 or more.
  1334.    Also, please refer to the next section for
  1335.    information about our maintenance contracts.
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343. ARC                                             Page 22
  1344. Q: Can I use ARC to distribute my public domain or
  1345.    shareware program?
  1346.  
  1347. A: Yes, of course.
  1348.  
  1349.  
  1350. Q: Can I use ARC to distribute my commercial software
  1351.    package?
  1352.  
  1353. A: Yes, provided that you obtain a commercial
  1354.    distribution license from us.  Please contact us
  1355.    for details.
  1356.  
  1357.  
  1358. Q: I'm a commercial user.  Why should I pay for
  1359.    shareware that others get for free?
  1360.  
  1361. A: Because you cannot credibly plead poverty.
  1362.               ___
  1363.    Shareware, all shareware, is an attempt to develop
  1364.    a new marketing channel to the benefit of everyone.
  1365.    You can still "test drive" shareware for a short
  1366.    period, but if you decide to use it in your
  1367.    business, then you should pay for it.
  1368.  
  1369.  
  1370. Q: Why not allow me to select which method of
  1371.    compression I want ARC to use?
  1372.  
  1373. A: It would needlessly complicate ARC, both internally
  1374.    and in use.  The exact nature of the compression
  1375.    methods used are complex, and quite different.  The
  1376.    only sure way to tell which will be best in any
  1377.    given case is to analyze the data, as ARC does.
  1378.    The method chosen may not always be what you
  1379.    expect.
  1380.  
  1381.  
  1382.  
  1383.  
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390.  
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398.  
  1399. ARC                                             Page 23
  1400.      MAINTENANCE CONTRACTS
  1401.  
  1402.  
  1403.  
  1404. Registered users of ARC receive 90 days of telephone
  1405. support at no extra charge.  If you wish, you can
  1406. extend this by pruchasing a maintenance contract.
  1407.  
  1408. A maintenance contract costs $50 per year and entitles
  1409. you to unlimited telephone support, as well as free
  1410. updates to ARC as they come out.
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.  
  1445.  
  1446.  
  1447.  
  1448.  
  1449.  
  1450.  
  1451.  
  1452.  
  1453.  
  1454. ARC                                             Page 24
  1455.        REVISION HISTORY
  1456.  
  1457.  
  1458.  
  1459. ____________________
  1460. CHANGES IN VERSION 3
  1461.  
  1462. The function used to calculate the CRC check value in
  1463. previous versions has been found to be in error.  It
  1464. has been replaced with the proper function.  ARC will
  1465. still read archives created with earlier versions of
  1466. ARC, but it will report a warning that the CRC value
  1467. is in error.  All archives created prior to version
  1468. 3.0 should be unpacked and repacked with the latest
  1469. version of ARC.
  1470.  
  1471.  
  1472. Transmitting a file with XMODEM protocol rounds the
  1473. size up to the next multiple of 128 bytes, adding
  1474. garbage to the end of the file.  This used to confuse
  1475. ARC, causing it to think that the end of the archive
  1476. was invalidly formatted.  This has been corrected in
  1477. version 3.01.  Older archives may still be read, but
  1478. ARC may report them to be improperly formatted.  All
  1479. files can be extracted, and no data is lost.  In
  1480. addition, ARC will automatically correct the problem
  1481. when it is encountered.
  1482.  
  1483.  
  1484.  
  1485. ____________________
  1486. CHANGES IN VERSION 4
  1487.  
  1488. ARC is adding another data compression technique in
  1489. this version.  We have been looking for some technique
  1490. that could improve on Huffman squeezing in at least a
  1491. few cases.  So far, Lempel-Zev compression seems to be
  1492. fulfilling our fondest hopes, often achieving
  1493. compression rates as much as 20% better than
  1494. squeezing, and sometimes even better.  Huffman
  1495. squeezing depends on some bytes being more "popular"
  1496. than others, taking the file as a whole.  Lempel-Zev
  1497. compression is instead looking for strings of bytes
  1498. which are repeated at various points (such as an end
  1499. of line followed by spaces for indentation).  Lempel-
  1500. Zev compression is therefore looking for repetition at
  1501. a more "macro" level, often achieving impressive
  1502. packing rates.
  1503.  
  1504. In the typical case a file is added to an archive once
  1505. and then extracted many times, so the increased time
  1506. for an update should more than pay for itself in
  1507. increased disk space and reduced transmission time.
  1508.  
  1509.  
  1510.  
  1511. ARC                                             Page 25
  1512. ______________________
  1513. CHANGES IN VERSION 4.1
  1514.  
  1515. Lempel-Zev coding has been improved somewhat by
  1516. performing non-repeat compression on the data before
  1517. it is coded (as was already done with Huffman
  1518. squeezing).  This has the two fold advantage of (a)
  1519. reducing to some extent the amount of data to be
  1520. encoded, and (b) increasing the time it takes for the
  1521. string table to fill up.  Performance gains are small,
  1522. but noticeable.
  1523.  
  1524. The primary changes are in internal organization.  ARC
  1525. is now much "cleaner" inside.  In addition to the
  1526. aesthetic benefits to the author, this should make
  1527. life easier for the hackers out there.  There is also
  1528. a slight, but not noticeable, improvement in overall
  1529. speed when doing an update.
  1530.  
  1531.  
  1532.  
  1533. ______________________
  1534. CHANGES IN VERSION 4.3
  1535.  
  1536. Version 4.3 adds the much-demanded feature of using
  1537. pathnames when adding files to an archive.
  1538.  
  1539. Version 4.3 is also using a slightly different
  1540. approach when adding a file to an archive.  The end
  1541. result is twofold:
  1542.  
  1543. 1) Slightly more disk space is required on the drive
  1544.    containing the archive.  This should only be
  1545.    noticeable to those creating very large archives on
  1546.    a floppy based system.
  1547.  
  1548. 2) A 30% reduction in packing time has been achieved
  1549.    in most cases.  This should be noticeable to
  1550.    everyone.
  1551.  
  1552. As always, version 4.3 is still fully upwards
  1553. compatible, and is backwards compatible as far as
  1554. version 4.1.
  1555.  
  1556.  
  1557.  
  1558.  
  1559.  
  1560.  
  1561.  
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567.  
  1568. ARC                                             Page 26
  1569. ______________________
  1570. CHANGES IN VERSION 4.4
  1571.  
  1572. The temporary file introduced in version 4.3
  1573. occasionally caused problems for people who had not
  1574. added a FILES= statement to their CONFIG.SYS file.
  1575. This has now been corrected.  Also, support of the
  1576. ARCTEMP environment string was added to allow placing
  1577. of the temporary file on a RAMdisk.
  1578.  
  1579. A bug was reported in the Run command, which has been
  1580. fixed.  From the nature of the bug, and the extreme
  1581. time required before the bug was reported, it is
  1582. deduced that the Run command is probably the least
  1583. used feature of ARC.
  1584.  
  1585. The Update command was changed.  It is no longer a
  1586. straight synonym for Add.  Instead, Update now only
  1587. adds a file if it is newer than the version already in
  1588. the archive, as shown by the MS-DOS date/time stamp.
  1589.  
  1590.  
  1591.  
  1592. ______________________
  1593. CHANGES IN VERSION 4.5
  1594.  
  1595. The Convert command was not making use of RAMdisk
  1596. support.  Now it is.
  1597.  
  1598. The Freshen command was added.  Our first choice for a
  1599. name was Refresh, but we already had a Run command.
  1600. Assuming that you have an archive which already
  1601. contains everything you want in it (for software
  1602. distribution, perhaps), then Freshen would be used to
  1603. update the archive.  It was pointed out to us that ARC
  1604. already knows what is in the archive, so it should be
  1605. able to look on disk for newer versions.  Now it can.
  1606.  
  1607. The Suppress compression option was added by popular
  1608. demand.  It allows files to be added quickly to an
  1609. archive, since the files are not analyzed or
  1610. compressed, but merely stored straight.  The intent is
  1611. to allow users to build an archive "in pieces", and
  1612. then compress all of the entries at once with the
  1613. Convert command.  The conversion is much faster if you
  1614. take advantage of RAMdisk support.
  1615.  
  1616. A minor bug was detected in our handling of date/time
  1617. stamps which occasionally resulted in stamping an
  1618. archive with the wrong date and time.  This has been
  1619. corrected.
  1620.  
  1621.  
  1622.  
  1623.  
  1624.  
  1625. ARC                                             Page 27
  1626. ______________________
  1627. CHANGES IN VERSION 5.0
  1628.  
  1629. The Move command used to delete the files as it went.
  1630. It now waits until it is finished updating the
  1631.                                              ___
  1632. archive, and deletes them all at once.  (You did know
  1633. that Move is just an Add where the file gets deleted,
  1634. didn't you?)  This, along with the changes made in
  1635. version 4.5, means that it is now much safer to
  1636. interrupt ARC while it is working.
  1637.  
  1638. The Print command no longer prints the name of each
  1639. file.  Instead, it prints a formfeed after each file.
  1640.  
  1641. The Run command now supports BASICA programs.  Also,
  1642. the filename extension is no longer required on the
  1643. Run command.
  1644.  
  1645. The Garble option was added.  It provides a convenient
  1646. means of low level data security for the casual user.
  1647. Use it sparingly, if at all.
  1648.  
  1649. ARC no longer tests for the presence of $ARCTEMP.CRN
  1650. before creating a new one.  If you interrupt ARC a
  1651. lot, you'll find this much more convenient.  If you
  1652. happen to have a file named $ARCTEMP.CRN which you
  1653. want to keep, too bad.
  1654.  
  1655. Improved error recovery was added when reading an
  1656. archive.  ARC now has a good chance of recovering the
  1657. data from a corrupted archive (the corrupted entry is
  1658. still lost, of course).
  1659.  
  1660. Path support has been added for all commands, though
  1661. it doesn't do anything on most of them.  For example,
  1662. there isn't much we can do with a path in the List
  1663. command.  But many users will be glad to know that a
  1664. path can be used when extracting a file, and specifies
  1665. where the file is to be placed.
  1666.  
  1667. Support for the TEMP environment string was added.  If
  1668. ARC doesn't find an environment string named ARCTEMP,
  1669. then it looks for one named TEMP to use instead.
  1670. Several packages already use the TEMP string for
  1671. exactly this purpose.  With any luck, maybe we can get
  1672. a standard going.
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. ARC                                             Page 28
  1683. ARC is now using a different variation of Lempel-Zev
  1684. coding, courtesy of Kent Williams, who found it on
  1685. USENET and adapted it to the IBM PC.  The new method
  1686. differs from the old in several respects.  The most
  1687. significant differences are:
  1688.  
  1689. 1) Where our previous implementation used a fixed code
  1690.    size of twelve bits, the new one starts with a code
  1691.    size of nine bits and increases it as it needs to.
  1692.  
  1693. 2) The earlier method tended to "choke" on large files
  1694.    when its string table filled up.  The new method
  1695.    has a rather ingenious scheme its authors call
  1696.    ______________
  1697.    adaptive reset.  When it notices that its string
  1698.    table has filled, and its compression ratio is
  1699.    starting to suffer, it clears the table and starts
  1700.    defining new strings.
  1701.  
  1702. Our benchmarks show an improvement in compression on
  1703. the order of 10% when crunching is used.
  1704. Additionally, ARC 5.0 is on the order of 23% faster at
  1705. adding a file when crunching is used, or 13% faster
  1706. when squeezing is used.  Extracting a file crunched
  1707. with the new method is 27% faster than it is with the
  1708. old method.  Extraction of any other type of file
  1709. (including those crunched with the older method) is no
  1710. faster than before.  These figures are based on our
  1711. own benchmark tests; your results may vary.
  1712.  
  1713. The previous implementation of Lempel-Zev coding is no
  1714. longer used to pack files.  The "V" (Verbose listing)
  1715. command distinguishes between the two by referring to
  1716. the older method as "crunched" (with a lower-case
  1717. "c"), and the newer method as "Crunched" (with a
  1718. capital "C").
  1719.  
  1720. ARC 5.0 can still read archives created by earlier
  1721. versions of ARC, but once again it creates archives
  1722. which older versions cannot read.
  1723.  
  1724.  
  1725.  
  1726. ______________________
  1727. CHANGES IN VERSION 5.1
  1728.  
  1729. Rick Moore discovered that ARC was occasionally adding
  1730. an archive to itself.  This would only happen when the
  1731. archive is in the same directory as the files being
  1732. added, and its name comes last.  This bug has been
  1733. fixed, though it is still possible to fool ARC into
  1734. adding an archive to itself by getting tricky with
  1735. path names.
  1736.  
  1737.  
  1738.  
  1739. ARC                                             Page 29
  1740. Dana Montgomery found the upper limit on how many
  1741. files can be added to an archive.  There's always been
  1742. an upper limit, but it depends on memory, and used to
  1743. be larger than anyone could possibly want (knock on
  1744. wood).  However, the added memory requirements in
  1745. version 5.0 lowered this limit into the realm of
  1746. possibility, somewhere around 300 files.  We change
  1747. some things around, and effectively, there is no
  1748. longer a limit on how many files you can add at once.
  1749. ARC will add the files in batches of as many as it can
  1750. handle at one time.
  1751.  
  1752. We've also introduced a new packaging method for ARC
  1753. and its documentation, since we are in the unique
  1754. position of being unable to use ARC for this purpose.
  1755. We've created a program called ARC51.COM which, when
  1756. executed, attempts to create the ARC program and
  1757. manual.  You must be in the same directory as
  1758. ARC51.COM when you run it.
  1759.  
  1760.  
  1761.  
  1762. ______________________
  1763. CHANGES IN VERSION 5.2
  1764.  
  1765. We've made some changes to Lempel-Zev coding to
  1766. further improve its compression ability on "poor fit"
  1767. files (mainly .EXE and .COM files).  The result is
  1768. that crunching now works better than squeezing on
  1769. almost all files, and comes close on most of the rest
  1770. (within 5%, by our benchmarks).  Accordingly, we have
  1771. dropped Huffman encoding in this version.  Our
  1772. benchmarks show a speed improvement of around 14% when
  1773. adding a file to an archive.
  1774.  
  1775. A low-level file copy routine was implemented to speed
  1776. up bulk data moves.  Deleting or adding a file to a
  1777. large existing archive is now much faster.
  1778.  
  1779. The Run command has been modified to allow passing
  1780. command line arguments to the program being run.
  1781.  
  1782. The temporary file introduced in version 4.3 has been
  1783. eliminated.  Crunched output generated in the analysis
  1784. phase is now placed directly in the output archive,
  1785. and is rewritten if crunching turns out not to be the
  1786. best choice.  This can, in rare circumstances, cause
  1787. an archive to be slightly larger than it should be,
  1788. but it also makes ARC considerably faster at adding
  1789. files to an archive.
  1790.  
  1791.  
  1792.  
  1793.  
  1794.  
  1795. ARC                                             Page 30
  1796.   PROGRAM HISTORY AND CREDITS
  1797.  
  1798.  
  1799.  
  1800. In its short life thus far, ARC has astounded us with
  1801. its popularity.  We first wrote it in March of 1985
  1802. because we wanted an archive utility that used a
  1803. distributive directory approach, since this has
  1804. certain advantages over the then popular central
  1805. directory approach.  We added automatic squeezing in
  1806. version 2 at the prompting of a friend.  In version
  1807. 2.1 we added the code to test for the best compression
  1808. method.  In less than a year we found that our humble
  1809. little program had spread across the country, and
  1810. seems to have become a new institution.
  1811.  
  1812. We are thankful for the support and appreciation we
  1813. have received.  We hope that you find this program of
  1814. use.
  1815.  
  1816.  
  1817. If we have achieved greatness, it is because we have
  1818. stood upon the shoulders of giants.  Nothing is
  1819. created as a thing unto itself, and ARC is no
  1820. exception.  Therefore, we would like to give credit to
  1821. the following people, without whose efforts ARC could
  1822. not exist:
  1823.  
  1824.  
  1825. Brian W. Kernighan and P. J. Plauger, whose book
  1826. "Software Tools" provided many of the ideas behind the
  1827. distributive directory approach used by ARC.
  1828.  
  1829. Dick Greenlaw, who wrote the public domain SQ and USQ
  1830. programs, in which the Huffman squeezing algorithm was
  1831. first developed.
  1832.  
  1833. Robert J. Beilstein, who adapted SQ and USQ to
  1834. Computer Innovations C86 (the language we use), thus
  1835. providing us with important parts of our squeezing
  1836. logic.
  1837.  
  1838. Kent Williams, who graciously allowed us to use his
  1839. LZWCOM and LZWUNC programs as a basis for our Lempel-
  1840. Zev compression logic, and who continues to make
  1841. valuable contributions.
  1842.  
  1843. David Schwaderer, whose article in the April 1985
  1844. issue of PC Tech Journal provided us with the logic
  1845. for calculating the CRC 16 bit polynomial.
  1846.  
  1847.  
  1848.  
  1849.  
  1850. ARC                                             Page 31
  1851. Terry A. Welch, whose article "A Technique for High
  1852. Performance Data Compression", IEEE Computer Vol 17 No
  1853. 6 (June 1984) seems to have started all the research
  1854. on Lempel-Zev coding.
  1855.  
  1856. Spencer W. Thomas, Jim McKie, Steve Davies, Ken
  1857. Turkowski, James A.  Woods, and Joe Orost, who are the
  1858. authors of the UNIX compress utility.
  1859.  
  1860. Alex Jacobs, who in June of 1985 sent us the very
  1861. first shareware contribution we ever received.
  1862.  
  1863.  
  1864. And many, many others whom we could not identify.
  1865.  
  1866.  
  1867.  
  1868.  
  1869.  
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876.  
  1877.  
  1878.  
  1879.  
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905. ARC                                             Page 32
  1906.         BULLETIN BOARDS
  1907.  
  1908.  
  1909.  
  1910. ARC is distributed mainly through shareware channels.
  1911. Among other things, this means that ARC is available
  1912. from many bulletin board systems.  In fact, the system
  1913. operators (sysops) of many bulletin boards have taken
  1914. to storing almost all of their downloadable files in
  1915. archives to save themselves disk space and to save
  1916. their users time.
  1917.  
  1918. This also makes things more convenient for the
  1919. bulletin board users, since one archive may contain
  1920. several programs, any related data files, and the
  1921. documentation.  Many shareware authors have taken to
  1922. distributing their software in archives to help ensure
  1923. that the users receive everything.
  1924.  
  1925. Obviously, we can't do that with ARC.  As a result,
  1926. many of our users have ARC, but don't have the manual.
  1927. Most of our customer support calls come from people
  1928. who have never seen the manual, and in many cases
  1929. didn't even know that one exists!
  1930.  
  1931. To solve this problem we developed what is in essence
  1932. a self-unpacking archive.  We distribute this as
  1933. "ARCxxx.COM", where "xxx" is the current version
  1934. number.  For example, ARC version 5.20 would be
  1935. distributed as "ARC520.COM".  This program, when run,
  1936. unpacks itself into a copy of ARC plus its
  1937. documentation.
  1938.  
  1939. Now that we've gone to all that work, we'd really
  1940. appreciate it if you would use this program when you
  1941. distribute ARC.
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951.  
  1952.  
  1953.  
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960. ARC                                             Page 33
  1961.          SITE LICENSES
  1962.  
  1963.  
  1964.  
  1965. Corporate users may wish to obtain a site license for
  1966. the use of ARC.  Please use the order form in this
  1967. manual to order a site license.  Site licenses are
  1968. granted as of when we receive your payment.  License
  1969. fees vary depending on the number of computers on
  1970. which ARC will be used, as follows:
  1971.  
  1972.      1 to  9 machines  $35 each
  1973.     10 to 24 machines  $25 each
  1974.     25 to 49 machines  $20 each
  1975.     50 to 99 machines  $15 each
  1976.     over  99 machines  $1500 one time fee
  1977.  
  1978.  
  1979.  
  1980. Enclosed is a site license agreement, which should be
  1981. signed and sent with your payment when ordering a
  1982. commercial site license.
  1983.  
  1984.  
  1985. A commercial site license does not include additional
  1986. copies of the ARC program disk and the ARC manual.
  1987. Instead, you make your own copies of the disk and
  1988. manual as you need them.  If you wish, you can order
  1989. additional program disks and manuals from us.
  1990.  
  1991. Additional program disks cost $10 each.  Additional
  1992. manuals cost $20 each.  If you wish, you can order
  1993. program sets for $40 each.  A "program set" is a
  1994. program disk and manual enclosed in a vinyl binder.
  1995. There is a $50 minimum on all orders.
  1996.  
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002.  
  2003.  
  2004.  
  2005.  
  2006.  
  2007.  
  2008.  
  2009.  
  2010.  
  2011.  
  2012.  
  2013.  
  2014.  
  2015. ARC                                             Page 34
  2016.              SITE LICENSE APPLICATION
  2017.  
  2018.  
  2019.  
  2020. The use of ARC in a commercial environment or government organization
  2021. is granted under the following terms:
  2022.  
  2023. 1.  Payment of the license fee must be made to System Enhancement
  2024.     Associates, Inc.  The fee is based on the number of computers
  2025.     which will be used to run ARC, as follows:
  2026.  
  2027.           1 to  9 machines  $35 each
  2028.          10 to 24 machines  $25 each
  2029.          25 to 49 machines  $20 each
  2030.          50 to 99 machines  $15 each
  2031.          over  99 machines  $1500 one time fee
  2032.  
  2033. 2.  You may use ARC on the number of computers included in the license
  2034.     fee.  If you have paid the fee for over 99 machines, then you may
  2035.     use ARC on any number of computers within your organization.
  2036.  
  2037. 3.  You may make copies of the program and documentation, in their
  2038.     original,  unmodified form,  without restriction.  You may
  2039.     distribute these copies without restriction.
  2040.  
  2041. 4.  If these copies are distributed outside of your organization,  you
  2042.     have no obligation to control the use of those copies which are
  2043.     outside of your organization.
  2044.  
  2045. 5.  You may make copies of the program documentation, in both its
  2046.     printed form and machine readable form, without restriction.
  2047.  
  2048. 6.  You may use all future versions of ARC under this license.
  2049.  
  2050.             ___
  2051. 7.  You may not modify the program or charge a fee for copying or
  2052.     distributing the program or its documentation.
  2053.  
  2054. 8.  It is your responsibility to make the necessary copies and to
  2055.     deliver them to the computers which they will be used on.  If you
  2056.     wish, you can order additional ARC program disks and manuals.
  2057.  
  2058.                                ________
  2059. 9.  We are not responsible for anything that may happen or not happen
  2060.     if you use ARC.  You're on your own.
  2061.  
  2062.  
  2063.     I agree to abide by the terms and conditions of this license.
  2064.  
  2065.     _____________________________         __________________________
  2066.  
  2067.     Signature                             Date
  2068.  
  2069.     _____________________________
  2070.  
  2071.     Name (please print or type)
  2072.  
  2073.     _____________________________
  2074.  
  2075.     Title
  2076.  
  2077.     _____________________________
  2078.  
  2079.     Company
  2080.  
  2081.  
  2082.                    ORDER FORM
  2083.  
  2084.  
  2085.  
  2086. Check which items you wish to purchase:
  2087.  
  2088.     [] Noncommercial license for the use of ARC.
  2089.  
  2090.                                                 ___
  2091.     [] Commercial license for the use of ARC on     computers (see
  2092.        attached price schedule and terms).
  2093.  
  2094.     [] Program disk and documentation (only on orders of $50 or more,
  2095.        not counting maintenance contracts).
  2096.  
  2097.        ____
  2098.     []      additional program disks at $10 per disk.
  2099.  
  2100.        ____
  2101.     []      additional manuals at $20 per manual
  2102.  
  2103.        ____
  2104.     []      additional program sets (disk, manual, and binder) at $40
  2105.        per program set.
  2106.  
  2107.     [] One year maintenance agreement at $50 per year.
  2108.  
  2109.                    _____
  2110.     [] Payment of $      is enclosed (check or money order).
  2111.  
  2112.                       _____
  2113.     [] Please charge $      to my [] Visa or [] MasterCard:
  2114.  
  2115.                     _______________________________
  2116.        Card number:
  2117.  
  2118.                         ___________________________
  2119.        Expiration date:
  2120.  
  2121.                   _________________________________
  2122.        Signature:
  2123.  
  2124.     _______________________________________________
  2125.  
  2126.     Name
  2127.  
  2128.     _______________________________________________
  2129.  
  2130.  
  2131.  
  2132.     _______________________________________________
  2133.  
  2134.     Address
  2135.  
  2136.     ______________________   ________  ____________
  2137.  
  2138.     City                     State     Zip
  2139.  
  2140.     _______________
  2141.            /
  2142.  
  2143.     FidoNet address
  2144.  
  2145.  
  2146. Send this completed form to:
  2147.  
  2148.                   System Enhancement Associates, Inc.
  2149.                      21 New Street, Wayne NJ 07470
  2150.  
  2151. For program disk orders outside the U.S., please add an additional $5,
  2152. and enclose an international money order payable in U.S. currency.
  2153.  
  2154. For commercial site license orders, please enclose a signed copy of
  2155. the site license agreement.
  2156.  
  2157.